.map_settings {
  min-height: 30px;
  max-height: 560px;
  overflow-y: auto;
}



.modal-content .links-container img {
  width: 64px;
  height: auto;
}

.map-options .addon {
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: rgb(204, 204, 204);
  border-right: 0;
}

#share_map_modal .modal-dialog {
  width: 70vw;
  max-width: 1100px;
}



.modal-content p.modal-title {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 700;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
}

.modal-content .links-container label,
.modal-content .links-container li {
  margin-right: 20px !important;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

.result-hide {
  display: none;
}

.close-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.close-panel::before {
  -webkit-transform: translate(-50%) rotate(-45deg);
  -ms-transform: translate(-50%) rotate(-45deg);
  transform: translate(-50%) rotate(-45deg);
}

.close-panel::after {
  -webkit-transform: translate(-50%) rotate(45deg);

  -ms-transform: translate(-50%) rotate(45deg);

  transform: translate(-50%) rotate(45deg);

}

.close-panel::before,
.close-panel::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: rgba(128, 128, 128, .5);
}

.close-panel:hover::before,
.close-panel:hover::after {
  background-color: rgba(128, 128, 128, 1);
}

.prev-button {
  width: 30px;
  height: 30px;
  display: block;
}

#share_map {
  text-align: center;
}

#result .info-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

#result .info-label {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 140%;
  padding-right: 10px;
}

#result .info-value {
  color: #252625;
  padding-left: 10px;
}

.legend-block {
  min-width: 24px;
  max-width: 24px;
  min-height: 11px;
  max-height: 11px;
  border-radius: 2px;
  margin-right: 12px;
}

.legend-items {
  display: grid;
  gap: 6px;
}

.legend-items .img-container {
  display: flex;
  align-items: center;
  color: #656565;
  ;
}


.tema-layers select {
  max-width: 220px;
}

.map-wrapper {
  position: relative;
  width: 100%;

  margin: 0 auto;
  margin-bottom: 30px;
  border-radius: 6px;
  overflow: hidden;
}

.map-wrapper._embed {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  height: 100vh;
  width: 100vw;
}

.map-wrapper #map {
  aspect-ratio: 1.5;
}



.map-wrapper.fullscreen #map {
  aspect-ratio: auto;
}

.leaflet-control-fullscreen-toggle.btn-default:focus {
  background-position: 50% 50%;
}

.map-wrapper.fullscreen {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;

}

.map_settings {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px;
  width: 272px;
  opacity: 1;
  -webkit-box-shadow: 0px 1px 5px #000;
  box-shadow: 0px 1px 5px #000;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #FFF;

  z-index: 1000;
  /*display:none;*/
}


.leaflet-control-measure {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
}

.leaflet-control-fullscreen .leaflet-control-fullscreen-toggle,
.leaflet-control-fullscreen .leaflet-control-fullscreen-toggle:hover {
  display: block;
  /*width: 36px !important;
    height: 36px !important;*/
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(/map/assets/resize-full.png);
  border-radius: 5px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-size: 20px;
}

.leaflet-control-fullscreen {
  max-width: 280px;
  background: #fff;
}

.leaflet-control-fullscreen button {
  width: 100%;
  height: 27px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border: none;
}

.leaflet-left .leaflet-control-fullscreen {
  display: block;
  width: 27px;
  margin-left: 13px;
}

/* MAAAAAAAAAAAAAAAAAAAAAAP */

a.ui-all {
  color: #316af0;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 5px;
  font-size: 12pt;
}

#result .title {
  padding: 10px 0px;
  font-size: 12pt;
}


.map-wrapper #map {
  width: 100%;
  /* height: 600px; */
  height: 100%;

  position: relative;
  z-index: 1;
}



.layer-el {
  font-size: 11pt;
  padding: 2px 10px 2px 30px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  line-height: 120%;
}

.layer-el.active {
  color: #000 !important
}

.layer-el:hover {
  color: #9a9a9a;
}

.main-layers {
  border-bottom: 1px solid #adadad;
  padding-bottom: 9px;
  margin-bottom: 5px;
}

.main-layers .layer-el {
  background: #fff url(/map/img/radio.png) left center no-repeat;
}

.main-layers .layer-el.active {
  background: #fff url(/map/img/radio-a.png) left center no-repeat;
}

.more-layers .layer-el {
  background: #fff url(/map/img/checkbox.png) left center no-repeat;
}

.more-layers .layer-el.active {
  background: #fff url(/map/img/checkbox-a.png) left center no-repeat;
}


.default-content__text {
  display: inline-block;
  width: 70%;
  margin-left: 20px;
  color: #858585;
  line-height: 1.6;
  vertical-align: middle;
  font-size: 15px;
}

.default-content {
  padding: 10px;
}

.default-content__logo {
  display: inline-block;
}

.default-content__text {
  display: inline-block;
  width: 70%;
  margin-left: 20px;
  color: #858585;
  line-height: 1.6;
  vertical-align: middle;
  font-size: 15px;
}

img {
  vertical-align: middle;
}

.leaflet-map-question>.lealet-map-question-open-modal,
.leaflet-map-print>.lealet-map-print-open-modal {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #333;
  cursor: pointer;
}

.leaflet-map-question,
.leaflet-map-print {
  display: block;
  height: 26px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
  color: #333;
  background-color: #fff;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-map-question {
  width: auto;
  padding: 3px 9px 2px 10px;
}

.leaflet-map-options {
  display: block;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
  color: #333;
  background-color: #fff;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-map-options {
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width:800px) {

  .leaflet-map-options {
    display: flex;
  }

  .map_settings {
    display: none;
    right: 10px;
    margin-top: 50px;
    width: calc(100vw - 90px);

  }


  #share_map_modal .modal-dialog {
    width: calc(100vw - 20px);
  }


  .map-wrapper {}

  .map-wrapper #map {
    aspect-ratio: 0.5;
  }

  #result {}

  .btnl {
    height: 40px;
  }

  #result:empty {
    display: none;
  }

  #result.result-has {
    background-color: white;
  }

  .close-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
  }

  div#search_block {
    display: block;
    padding: 10px;
    height: fit-content;
    position: absolute !important;

    width: auto !important;
  }

  #search_block>.suggestions-input {
    display: inherit !important;
    width: auto !important;
    font-size: 12px;
  }

  .suggestions-wrapper {
    position: absolute;
  }

  .leaflet-top {
    top: 50px !important;
  }
}